<?
	/*
	 * Header TEMPLATE (html5)
	 *
	 * renders the by default needed header elements.
	 *
	 */
 
	if( count( $template_param )) $mods = "?mods=" . implode( ",", $template_param );

	function header_check_IE() {
		if( IE ) {
		
				$header	= '<meta http-equiv="X-UA-Compatible" content="IE=7">';
				$header.= '	<script src="http://central.onedotonly.be/js/AC_RunActiveContent.js" type="text/javascript"></script>';
		} else	$header = '<meta http-equiv="X-UA-Compatible" content="chrome=1">';
	
		return	$header;
	}

?>
	<meta charset="utf-8" />
	<?= header_check_IE() ?>
	<script src='http://central.onedotonly.be/js/prototype.js' type='text/javascript'></script>
	<script src='http://central.onedotonly.be/js/xhttp.js' type='text/javascript'></script>
	<?= ( $mods )?
		"<script src='/script.mod$mods' type='text/javascript'></script>
		 <link rel='stylesheet' href='/style.mod$mods' type='text/css' media='screen,print' />" : "" ?>
	<link rel='stylesheet' href='<?=THEME?>root.css' type='text/css' media='screen,print' />
	<link rel='stylesheet' href='<?=THEME?>modules.css' type='text/css' media='screen,print' />
	<link rel='alternate' type='application/rss+xml' title='RSS' href='/atom.rss' />
	<link rel='icon' href='<?=THEME?>icon.png' />
	
	<script type='text/javascript'>
		var init = {
			url			: '<?= engine_get('url') ?>',
			ext			: '<?= engine_get('mail.ext') ?>',
			theme		: '<?= THEME ?>'
		}
	</script>